package com.example.boxueguapplication.model;

import com.orm.SugarRecord;
import com.orm.dsl.Unique;


public class User extends SugarRecord {
    @Unique
    private String username;
    private String password;
    private Integer image;
    private String nike;
    private Integer sex;
    private String qianming;

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", image=" + image +
                ", nike='" + nike + '\'' +
                ", sex=" + sex +
                ", qianming='" + qianming + '\'' +
                '}';
    }

    public User(String username, String password, Integer image, String nike, Integer sex, String qianming) {
        this.username = username;
        this.password = password;
        this.image = image;
        this.nike = nike;
        this.sex = sex;
        this.qianming = qianming;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getImage() {
        return image;
    }

    public void setImage(Integer image) {
        this.image = image;
    }

    public String getNike() {
        return nike;
    }

    public void setNike(String nike) {
        this.nike = nike;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getQianming() {
        return qianming;
    }

    public void setQianming(String qianming) {
        this.qianming = qianming;
    }
}
